package com.smart.domain;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * 订单表
 *
 * @date 2019-07-28 10:36:33
 */
@Data
public class CpOrderDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//订单编号
	private Long orderId;
	//券编号
	private Long cpId;
	//平台编号
	private Integer platId;
	//所属商户
	private Integer merchantId;
	//所属省
	private Integer provinceNum;
	//所属市
	private Integer cityNum;
	//购券数量
	private Integer cpNum;
	//订单金额
	private BigDecimal orderFee;
	//提点金额
	private BigDecimal servFee;
	//订单时间
	private Date orderTime;
	//订单人类型 1 门 2 会员 3 管理员
	private Integer orderManType;
	//订单人编号
	private Integer orderManId;
	//订单状态0 已关闭1 进行中2 已完成
	private Integer orderFlag;
	//支付状态  0 未支付 1已支付
	private Integer payFlag;
	//支付时间
	private Date payTime;
	//关闭时间
	private Date closeTime;
	//关闭原因
	private String closeDes;
	//关闭人,发券人
	private Integer adminId;
	//备注
	private String des;
	//发券加油站
	private String station;
	//加油交易号
	private String oilorders;
	//支付方式代码PaymentCode.java
	private String paymentCode;
	//订单来源EcpObtainType.java
	private String ordersFrom;
	//平台名称
	private String platName;
	//商户名称
	private String merchantName;
	//下单人姓名
	private String orderManName;
	//优惠券名称
	private String cpName;
	//电子券编码列表
	private List<String> ecpCodes;
	//EcpObtainType
	private String obtainType;

}
